#include<stdio.h>

#include <stdlib.h>

#include<conio.h>

#include<time.h>

int main()

{          

    int a=0;

    int b=0;

    int m=0;

    int i,t;

    srand((unsigned)time(NULL));

    for(i=0;i<30;i++)

    {          

        a=rand()%100;

        b=rand()%100;

        m=rand()%4;

        if(a<b)

        {

            t=a;

            a=b;         

            b=t;

        }

    printf("%d",a);

    switch(m)

    {

    case 0:

        printf("+");

        break;

    case 1:

        printf("-");

        break;

    case 2:

        printf("*");

        break;

    case 3:

        printf("/");

        break;

    }

    printf("%d=",b);

    printf("\n");

    }

    return 0;

}

